package com.xiaoxu.serviceimpl;

import com.xiaoxu.damain.UserData;
import com.xiaoxu.dao.UserDao;
import com.xiaoxu.service.Loginservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LoginserviceImpl implements Loginservice {
    @Autowired
    private UserDao userDao;

    @Override
    public UserData SelectAll(UserData logininfo) {
        return userDao.getALL(logininfo);
    }

}
